  /**
   * Generate time : 2016-04-18 10:28:55
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ck.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCKJqap 
 * table comment : 假期安排 
 */
public class ZMCKJqap extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdMiningName = " ";		/* 矿井名称*/
	private String fdMiningId = " ";		/* 矿井id*/
	private String fdStatus = "草拟";		/* 状态*/
	private String fdCurrentDate = " ";		/* 当前日期*/
	private String fdReportPerson = " ";		/* 汇报人*/
	private String fdReportDepartmentId = " ";		/* 汇报部门ID*/
	private String fdReportDepartment = " ";		/* 汇报部门*/
	private String fdReporterId = " ";		/* 汇报人ID*/
	private String fdBeginDate = " ";		/* 起始日期*/
	private String fdEndDate = " ";		/* 结束日期*/
	private String fdXjPeople = " ";		/* 休假人*/
	private String fdXjReason = " ";		/* 休假原因*/
	private String fdImportrecordId = " ";		/* 重点调度记录ID*/
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningName");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningId");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井id");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(6);	
	eiColumn.setDescName("状态");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCurrentDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("当前日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReportPerson");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("汇报人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReportDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("汇报部门ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReportDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("汇报部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReporterId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("汇报人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdBeginDate");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("起始日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdEndDate");
	eiColumn.setFieldLength(14);	
	eiColumn.setDescName("结束日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdXjPeople");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("休假人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdXjReason");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("休假原因");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdImportrecordId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("重点调度记录ID");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCKJqap() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdMiningName - 矿井名称
	 * @return the fdMiningName
	 */
	public String getFdMiningName() {
		return this.fdMiningName;
	}
	
	/**
	 * set the fdMiningName - 矿井名称
	 */
	public void setFdMiningName(String fdMiningName) {
		this.fdMiningName = fdMiningName;
	}
	/**
	 * get the fdMiningId - 矿井id
	 * @return the fdMiningId
	 */
	public String getFdMiningId() {
		return this.fdMiningId;
	}
	
	/**
	 * set the fdMiningId - 矿井id
	 */
	public void setFdMiningId(String fdMiningId) {
		this.fdMiningId = fdMiningId;
	}
	/**
	 * get the fdStatus - 状态
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus - 状态
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	/**
	 * get the fdCurrentDate - 当前日期
	 * @return the fdCurrentDate
	 */
	public String getFdCurrentDate() {
		return this.fdCurrentDate;
	}
	
	/**
	 * set the fdCurrentDate - 当前日期
	 */
	public void setFdCurrentDate(String fdCurrentDate) {
		this.fdCurrentDate = fdCurrentDate;
	}
	/**
	 * get the fdReportPerson - 汇报人
	 * @return the fdReportPerson
	 */
	public String getFdReportPerson() {
		return this.fdReportPerson;
	}
	
	/**
	 * set the fdReportPerson - 汇报人
	 */
	public void setFdReportPerson(String fdReportPerson) {
		this.fdReportPerson = fdReportPerson;
	}
	/**
	 * get the fdReportDepartmentId - 汇报部门ID
	 * @return the fdReportDepartmentId
	 */
	public String getFdReportDepartmentId() {
		return this.fdReportDepartmentId;
	}
	
	/**
	 * set the fdReportDepartmentId - 汇报部门ID
	 */
	public void setFdReportDepartmentId(String fdReportDepartmentId) {
		this.fdReportDepartmentId = fdReportDepartmentId;
	}
	/**
	 * get the fdReportDepartment - 汇报部门
	 * @return the fdReportDepartment
	 */
	public String getFdReportDepartment() {
		return this.fdReportDepartment;
	}
	
	/**
	 * set the fdReportDepartment - 汇报部门
	 */
	public void setFdReportDepartment(String fdReportDepartment) {
		this.fdReportDepartment = fdReportDepartment;
	}
	/**
	 * get the fdReporterId - 汇报人ID
	 * @return the fdReporterId
	 */
	public String getFdReporterId() {
		return this.fdReporterId;
	}
	
	/**
	 * set the fdReporterId - 汇报人ID
	 */
	public void setFdReporterId(String fdReporterId) {
		this.fdReporterId = fdReporterId;
	}
	/**
	 * get the fdBeginDate - 起始日期
	 * @return the fdBeginDate
	 */
	public String getFdBeginDate() {
		return this.fdBeginDate;
	}
	
	/**
	 * set the fdBeginDate - 起始日期
	 */
	public void setFdBeginDate(String fdBeginDate) {
		this.fdBeginDate = fdBeginDate;
	}
	/**
	 * get the fdEndDate - 结束日期
	 * @return the fdEndDate
	 */
	public String getFdEndDate() {
		return this.fdEndDate;
	}
	
	/**
	 * set the fdEndDate - 结束日期
	 */
	public void setFdEndDate(String fdEndDate) {
		this.fdEndDate = fdEndDate;
	}
	/**
	 * get the fdXjPeople - 休假人
	 * @return the fdXjPeople
	 */
	public String getFdXjPeople() {
		return this.fdXjPeople;
	}
	
	/**
	 * set the fdXjPeople - 休假人
	 */
	public void setFdXjPeople(String fdXjPeople) {
		this.fdXjPeople = fdXjPeople;
	}
	/**
	 * get the fdXjReason - 休假原因
	 * @return the fdXjReason
	 */
	public String getFdXjReason() {
		return this.fdXjReason;
	}
	
	/**
	 * set the fdXjReason - 休假原因
	 */
	public void setFdXjReason(String fdXjReason) {
		this.fdXjReason = fdXjReason;
	}
	/**
	 * get the fdImportrecordId - 重点调度记录ID
	 * @return the fdImportrecordId
	 */
	public String getFdImportrecordId() {
		return this.fdImportrecordId;
	}
	
	/**
	 * set the fdImportrecordId - 重点调度记录ID
	 */
	public void setFdImportrecordId(String fdImportrecordId) {
		this.fdImportrecordId = fdImportrecordId;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdMiningName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningName")), fdMiningName));
		setFdMiningId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningId")), fdMiningId));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdCurrentDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCurrentDate")), fdCurrentDate));
		setFdReportPerson(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReportPerson")), fdReportPerson));
		setFdReportDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReportDepartmentId")), fdReportDepartmentId));
		setFdReportDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReportDepartment")), fdReportDepartment));
		setFdReporterId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReporterId")), fdReporterId));
		setFdBeginDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdBeginDate")), fdBeginDate));
		setFdEndDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdEndDate")), fdEndDate));
		setFdXjPeople(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdXjPeople")), fdXjPeople));
		setFdXjReason(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdXjReason")), fdXjReason));
		setFdImportrecordId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdImportrecordId")), fdImportrecordId));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdMiningName",StringUtils.toString(fdMiningName, eiMetadata.getMeta("fdMiningName")));	
			map.put("fdMiningId",StringUtils.toString(fdMiningId, eiMetadata.getMeta("fdMiningId")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			map.put("fdCurrentDate",StringUtils.toString(fdCurrentDate, eiMetadata.getMeta("fdCurrentDate")));	
			map.put("fdReportPerson",StringUtils.toString(fdReportPerson, eiMetadata.getMeta("fdReportPerson")));	
			map.put("fdReportDepartmentId",StringUtils.toString(fdReportDepartmentId, eiMetadata.getMeta("fdReportDepartmentId")));	
			map.put("fdReportDepartment",StringUtils.toString(fdReportDepartment, eiMetadata.getMeta("fdReportDepartment")));	
			map.put("fdReporterId",StringUtils.toString(fdReporterId, eiMetadata.getMeta("fdReporterId")));	
			map.put("fdBeginDate",StringUtils.toString(fdBeginDate, eiMetadata.getMeta("fdBeginDate")));	
			map.put("fdEndDate",StringUtils.toString(fdEndDate, eiMetadata.getMeta("fdEndDate")));	
			map.put("fdXjPeople",StringUtils.toString(fdXjPeople, eiMetadata.getMeta("fdXjPeople")));	
			map.put("fdXjReason",StringUtils.toString(fdXjReason, eiMetadata.getMeta("fdXjReason")));	
			map.put("fdImportrecordId",StringUtils.toString(fdImportrecordId, eiMetadata.getMeta("fdImportrecordId")));	
			
		return map;
	
	}
}